/*
 * Copyright 2013 stanislawbartkowski@gmail.com 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * http://www.apache.org/licenses/LICENSE-2.0 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package com.mygwt.common.data;

import java.io.Serializable;
import java.util.Date;

import com.gwtmodel.table.common.dateutil.DateP;

/**
 * @author hotel
 * 
 */
public class TOMarkRecord implements Serializable {

    private int number;

    private String iName;

    private DateP iDate;

    private boolean marked;

    private boolean editMark;

    public TOMarkRecord() {
        iDate = new DateP();
    }

    /**
     * @return the number
     */
    public int getNumber() {
        return number;
    }

    /**
     * @param number
     *            the number to set
     */
    public void setNumber(int number) {
        this.number = number;
    }

    /**
     * @return the iName
     */
    public String getiName() {
        return iName;
    }

    /**
     * @param iName
     *            the iName to set
     */
    public void setiName(String iName) {
        this.iName = iName;
    }

    /**
     * @return the iDate
     */
    public Date getiDate() {
        return iDate.getD();
    }

    /**
     * @param iDate
     *            the iDate to set
     */
    public void setiDate(Date iDate) {
        this.iDate.setD(iDate);
    }

    /**
     * @return the marked
     */
    public boolean isMarked() {
        return marked;
    }

    /**
     * @param marked
     *            the marked to set
     */
    public void setMarked(boolean marked) {
        this.marked = marked;
    }

    /**
     * @return the editMark
     */
    public boolean isEditMark() {
        return editMark;
    }

    /**
     * @param editMark
     *            the editMark to set
     */
    public void setEditMark(boolean editMark) {
        this.editMark = editMark;
    }

}
